package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDao {


    List<Goods> getList(@Param("page") Integer page, @Param("rows") Integer rows,@Param("codeOrName") String codeOrName);

    Integer insert(Goods goods);

    Integer update(Goods goods, String goodsId);

    Goods getGoodsById(Integer goodsId);
}
